BugĀ 602099 - Actions can be activatable too
authorMatthew Barnes <mbarnes@redhat.com>
Tue, 15 Dec 2009 13:00:44 +0000 (08:00 -0500)
committerTristan Van Berkom <tristan.van.berkom@gmail.com>
Sun, 4 Apr 2010 00:51:49 +0000 (20:51 -0400)
commit52e84a9eccfac7bccc39bc6cd41ac8c2d6038b4f
tree37f753f3e0d0adfe5a12090905e9c6cb611df918
parenta2a990aa0bbddfeefd34896485cef70860003724
BugĀ 602099 - Actions can be activatable too

Add a couple type checks in gtk_activatable_do_set_related_action() to
allow both GtkWidgets and GtkActions to implement GtkActivatable.  Bug
602099 describes a use case for this.

Also add a GObject prerequisite to the GtkActivatable interface.
gtk/gtkactivatable.c